<template>
  <el-card>
    <template #header>订单数据展示</template>

    <div class="charts">
      <!-- 1.0 曲线图 -->
      <div class="line-charts">
        <h3>订单数据周对比</h3>
        <LineChart />
      </div>

      <!-- 饼状图 -->
      <div class="pie-charts">
        <h3>支持发工资的占比</h3>
        <PieChart1 />
      </div>
    </div>
  </el-card>
</template>

<script>
import LineChart from './components/LineCharts.vue'
import PieChart1 from './components/PieCharts1.vue'
export default {
  components: {
    LineChart,
    PieChart1
  }
}
</script>
<style lang="less" scoped>
.charts {
  display: flex;
  justify-content: space-between;
  .line-charts {
    flex: 0 0 50%;
    padding-top: 30px;
  }
  h3 {
    text-align: center;
  }
  .pie-charts {
    padding-top: 36px;
    flex: 0 0 50%;
    // background-color: #cccccc;
  }
}
</style>
